package com.hsy.crm.web.web.system;

import com.hsy.crm.web.domain.cm.Response;
import com.hsy.crm.web.domain.vo.print.PrintOrderVo;
import com.hsy.crm.web.service.impl.PrintOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/printOrder")
public class PrintOrderAction {

    @Autowired
    PrintOrderService printOrderService;

    @RequestMapping("/getOrder")
    public String getOrder(PrintOrderVo printOrderVo) {
        return Response.body(printOrderService.getPrintOrder(printOrderVo));
    }


}
